package cn.stylefeng.guns.modular.fi.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.fi.entity.FiOrderAsyc;
import cn.stylefeng.guns.modular.fi.model.params.FiOrderAsycParam;
import cn.stylefeng.guns.modular.fi.model.result.FiOrderAsycResult;
import cn.stylefeng.roses.core.reqres.response.ResponseData;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 拣货单拉取 服务类
 * </p>
 *
 * @author zhangzh
 * @since 2025-01-19
 */
public interface FiOrderAsycService extends IService<FiOrderAsyc> {

    /**
     * 新增
     *
     * @author zhangzh
     * @Date 2025-01-19
     */
    void add(FiOrderAsycParam param);

    /**
     * 删除
     *
     * @author zhangzh
     * @Date 2025-01-19
     */
    void delete(FiOrderAsycParam param);

    ResponseData replaceOne(FiOrderAsycParam param);


    /**
     * 更新
     *
     * @author zhangzh
     * @Date 2025-01-19
     */
    void update(FiOrderAsycParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhangzh
     * @Date 2025-01-19
     */
    FiOrderAsycResult findBySpec(FiOrderAsycParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhangzh
     * @Date 2025-01-19
     */
    List<FiOrderAsycResult> findListBySpec(FiOrderAsycParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhangzh
     * @Date 2025-01-19
     */
     LayuiPageInfo findPageBySpec(FiOrderAsycParam param, String condition);

}
